package com.example.two.service;

import com.example.two.domain.Order;

import java.util.List;

public interface OrderService {
    boolean insertOrder(Order order);
    boolean deleteOrder(Long id);
    Order getOrderById(Long id);
    List<Order> getAllOrders();
    List<Order> getOrdersByUserId(Long userId);
}
